import login from "@/views/login.vue";
import register from "@/views/register.vue";

export default [
    {
        path: "/login",
        component: login,
        meta: { title: "登录" },
    },
    {
        path: "/register",
        component: register,
        meta: { title: "注册" },
        // beforeEnter: (to, from, next) => {
        //     console.log(to);
        //     // next({
        //     //     query: { to: from.fullPath },
        //     // });
        // }
    },
];
